/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    height: 100vh;
    /* background: linear-gradient(135deg, #667eea, #6d4a91); */
    /* 优化配置 */
    background: linear-gradient(135deg, #667eea, #574bb3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  /* 登录容器 */
  .login-container {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 1s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
  }
  
  /* 表单样式 */
  .login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .input-group {
    position: relative;
  }
  
  .input-group label {
    color: #fff;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
  }
  
  .input-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
  }
  
  .input-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  }
  
  /* 错误提示 */
  .error-message {
    color: #ff4d4d;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    position: absolute;
    bottom: -18px;
    left: 0;
  }
  
  /* 登录按钮 */
  .login-btn {
    padding: 12px;
    background: linear-gradient(to right, #ff6ec4, #7873f5);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .login-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .login-btn:active {
    transform: scale(0.98);
  }
  
  /* 页脚链接 */
  .footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }
  
  .footer-links a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #ff6ec4;
  }

  /* .bg {
    background-color: white;
  } */